﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kokomo.Environment.Documents;

namespace Kokomo.PeInspector.Reflection
{
	class MetadataDetailViewModel : DetailViewModel
	{
		public MetadataDetailViewModel(
			NavigationContext navigationContext,
			IMetadataHost host,
			object obj,
			UiString heading,
			SourceDocumentViewModel sourceDocumentViewModel,
			SourceDocumentViewModel msilDocumentViewModel
			)
			: base(navigationContext, obj, heading)
		{
			this.MetadataHost = host;

			this.SourceDocumentViewModel = sourceDocumentViewModel;
			this.MsilDocumentViewModel = msilDocumentViewModel;
		}

		public IMetadataHost MetadataHost { get; private set; }

		public SourceDocumentViewModel SourceDocumentViewModel { get; private set; }
		public SourceDocumentViewModel MsilDocumentViewModel { get; private set; }
	}
}
